class AddDefaults < ActiveRecord::Migration
  def self.up
    change_column_default :check_ins, :hidden, false
    
    change_column_default :checklist_item_instances, :done, false
    
    change_column_default :checklist_recurrence_rules, :days_ahead, 0
    
    change_column_default :couriers, :active, false
    
    change_column_default :item_attribute_sets, :hidden, false
    change_column_default :item_attribute_sets, :mutually_exclusive, true
    change_column_default :item_attribute_sets, :required, false
    
    change_column_default :item_attributes, :hidden, false
    change_column_default :item_attributes, :verify_on_scan, false
    
    change_column_default :item_types, :hidden, false
    change_column_default :item_types, :item_type, "other"

    change_column_default :items, :is_container, false
    change_column_default :items, :hidden, false
    change_column_default :items, :locked, false
    
    change_column_default :locations, :hidden, true
    
    change_column_default :route_recurrence_rules, :days_ahead, 0
    
    change_column_default :stop_instances, :visited, false    
  end

  def self.down
  end
end
